package org.suk.dp.adapter;

import java.text.MessageFormat;

/**
 * Description: 后卫<br/>
 * @version V1.0  2017/6/21 11:51  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class Guards extends Player {
    public Guards(String name) {
        super(name);
    }

    @Override
    void attach() {
        System.out.println(MessageFormat.format("后卫 {0} 进攻",this.name));
    }

    @Override
    void defense() {
        System.out.println(MessageFormat.format("后卫 {0} 防守",this.name));
    }
}
